home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 97 / maccd 97.iso / utilities / Mac OS X / memory_monitor_1.2.1.dmg / Memory Monitor Sources / MemInfo.h < prev    next >
MacBinary  |  2002-03-18  |  1.9 KB  |  [????/????]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Mar 18 07:22:22 2002, modified Mon Mar 18 07:22:22 2002, creator '????', type '????', 1398 bytes "MemInfo.h" , at 0x5f6 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default
100% librempegprobeID NGC (Nintendo DSP Standard) (ngcdspstd) default (weak)


id metadata
keyvalue
macFileType[????]
macFileCreator[????]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 4d 65 6d 49 6e 66 | 6f 2e 68 00 00 00 00 00 |..MemInf|o.h.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 3f 3f 3f 3f 3f 3f 3f | 3f 01 00 01 c0 00 00 00 |.???????|?.......|
|00000050| 00 00 00 00 00 05 76 00 | 00 01 1e b8 bb 8c 7e b8 |......v.|......~.|
|00000060| bb 8c 7e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..~.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cf 36 00 00 |........|.....6..|
|00000080| 2f 2a 0a 20 2a 09 4d 65 | 6d 6f 72 79 20 4d 6f 6e |/*. *.Me|mory Mon|
|00000090| 69 74 6f 72 0a 20 2a 0a | 20 2a 09 43 6f 70 79 72 |itor. *.| *.Copyr|
|000000a0| 69 67 68 74 20 a9 20 32 | 30 30 31 2d 32 30 30 32 |ight . 2|001-2002|
|000000b0| 20 42 65 72 6e 68 61 72 | 64 20 42 61 65 68 72 0a | Bernhar|d Baehr.|
|000000c0| 20 2a 0a 20 2a 09 4d 65 | 6d 49 6e 66 6f 2e 68 20 | *. *.Me|mInfo.h |
|000000d0| 2d 20 4d 65 6d 6f 72 79 | 20 55 73 61 67 65 20 48 |- Memory| Usage H|
|000000e0| 69 73 74 6f 72 79 20 43 | 6f 6e 74 61 69 6e 65 72 |istory C|ontainer|
|000000f0| 20 43 6c 61 73 73 0a 20 | 2a 0a 20 2a 09 54 68 69 | Class. |*. *.Thi|
|00000100| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 66 72 65 |s progra|m is fre|
|00000110| 65 20 73 6f 66 74 77 61 | 72 65 3b 20 79 6f 75 20 |e softwa|re; you |
|00000120| 63 61 6e 20 72 65 64 69 | 73 74 72 69 62 75 74 65 |can redi|stribute|
|00000130| 20 69 74 20 61 6e 64 2f | 6f 72 20 6d 6f 64 69 66 | it and/|or modif|
|00000140| 79 0a 20 2a 09 69 74 20 | 75 6e 64 65 72 20 74 68 |y. *.it |under th|
|00000150| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 47 |e terms |of the G|
|00000160| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|00000170| 63 20 4c 69 63 65 6e 73 | 65 20 61 73 20 70 75 62 |c Licens|e as pub|
|00000180| 6c 69 73 68 65 64 20 62 | 79 0a 20 2a 09 74 68 65 |lished b|y. *.the|
|00000190| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|000001a0| 6f 75 6e 64 61 74 69 6f | 6e 3b 20 65 69 74 68 65 |oundatio|n; eithe|
|000001b0| 72 20 76 65 72 73 69 6f | 6e 20 32 20 6f 66 20 74 |r versio|n 2 of t|
|000001c0| 68 65 20 4c 69 63 65 6e | 73 65 2c 20 6f 72 0a 20 |he Licen|se, or. |
|000001d0| 2a 09 28 61 74 20 79 6f | 75 72 20 6f 70 74 69 6f |*.(at yo|ur optio|
|000001e0| 6e 29 20 61 6e 79 20 6c | 61 74 65 72 20 76 65 72 |n) any l|ater ver|
|000001f0| 73 69 6f 6e 2e 0a 20 2a | 0a 20 2a 09 54 68 69 73 |sion.. *|. *.This|
|00000200| 20 70 72 6f 67 72 61 6d | 20 69 73 20 64 69 73 74 | program| is dist|
|00000210| 72 69 62 75 74 65 64 20 | 69 6e 20 74 68 65 20 68 |ributed |in the h|
|00000220| 6f 70 65 20 74 68 61 74 | 20 69 74 20 77 69 6c 6c |ope that| it will|
|00000230| 20 62 65 20 75 73 65 66 | 75 6c 2c 0a 20 2a 09 62 | be usef|ul,. *.b|
|00000240| 75 74 20 57 49 54 48 4f | 55 54 20 41 4e 59 20 57 |ut WITHO|UT ANY W|
|00000250| 41 52 52 41 4e 54 59 3b | 20 77 69 74 68 6f 75 74 |ARRANTY;| without|
|00000260| 20 65 76 65 6e 20 74 68 | 65 20 69 6d 70 6c 69 65 | even th|e implie|
|00000270| 64 20 77 61 72 72 61 6e | 74 79 20 6f 66 0a 20 2a |d warran|ty of. *|
|00000280| 09 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 |.MERCHAN|TABILITY|
|00000290| 20 6f 72 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 | or FITN|ESS FOR |
|000002a0| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|000002b0| 50 4f 53 45 2e 20 20 53 | 65 65 20 74 68 65 0a 20 |POSE. S|ee the. |
|000002c0| 2a 09 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |*.GNU Ge|neral Pu|
|000002d0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000002e0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 20 | more de|tails.. |
|000002f0| 2a 0a 20 2a 09 59 6f 75 | 20 73 68 6f 75 6c 64 20 |*. *.You| should |
|00000300| 68 61 76 65 20 72 65 63 | 65 69 76 65 64 20 61 20 |have rec|eived a |
|00000310| 63 6f 70 79 20 6f 66 20 | 74 68 65 20 47 4e 55 20 |copy of |the GNU |
|00000320| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|00000330| 69 63 65 6e 73 65 0a 20 | 2a 09 61 6c 6f 6e 67 20 |icense. |*.along |
|00000340| 77 69 74 68 20 74 68 69 | 73 20 70 72 6f 67 72 61 |with thi|s progra|
|00000350| 6d 3b 20 69 66 20 6e 6f | 74 2c 20 77 72 69 74 65 |m; if no|t, write|
|00000360| 20 74 6f 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | to the |Free Sof|
|00000370| 74 77 61 72 65 0a 20 2a | 09 46 6f 75 6e 64 61 74 |tware. *|.Foundat|
|00000380| 69 6f 6e 2c 20 49 6e 63 | 2e 2c 20 35 39 20 54 65 |ion, Inc|., 59 Te|
|00000390| 6d 70 6c 65 20 50 6c 61 | 63 65 2c 20 53 75 69 74 |mple Pla|ce, Suit|
|000003a0| 65 20 33 33 30 2c 20 42 | 6f 73 74 6f 6e 2c 20 4d |e 330, B|oston, M|
|000003b0| 41 20 20 30 32 31 31 31 | 2d 31 33 30 37 20 20 55 |A 02111|-1307 U|
|000003c0| 53 41 0a 20 2a 2f 0a 0a | 0a 23 69 6d 70 6f 72 74 |SA. */..|.#import|
|000003d0| 20 3c 43 6f 63 6f 61 2f | 43 6f 63 6f 61 2e 68 3e | <Cocoa/|Cocoa.h>|
|000003e0| 0a 23 69 6d 70 6f 72 74 | 20 3c 6d 61 63 68 2f 6d |.#import| <mach/m|
|000003f0| 61 63 68 2e 68 3e 0a 23 | 69 6d 70 6f 72 74 20 3c |ach.h>.#|import <|
|00000400| 6d 61 63 68 2f 6d 61 63 | 68 5f 74 79 70 65 73 2e |mach/mac|h_types.|
|00000410| 68 3e 0a 0a 0a 74 79 70 | 65 64 65 66 20 73 74 72 |h>...typ|edef str|
|00000420| 75 63 74 20 76 6d 64 61 | 74 61 20 7b 0a 09 64 6f |uct vmda|ta {..do|
|00000430| 75 62 6c 65 09 77 69 72 | 65 64 3b 0a 09 64 6f 75 |uble.wir|ed;..dou|
|00000440| 62 6c 65 09 61 63 74 69 | 76 65 3b 0a 09 64 6f 75 |ble.acti|ve;..dou|
|00000450| 62 6c 65 09 69 6e 61 63 | 74 69 76 65 3b 0a 09 64 |ble.inac|tive;..d|
|00000460| 6f 75 62 6c 65 09 66 72 | 65 65 3b 0a 09 69 6e 74 |ouble.fr|ee;..int|
|00000470| 09 70 61 67 65 69 6e 73 | 3b 0a 09 69 6e 74 09 70 |.pageins|;..int.p|
|00000480| 61 67 65 6f 75 74 73 3b | 0a 7d 09 56 4d 44 61 74 |ageouts;|.}.VMDat|
|00000490| 61 2c 20 2a 56 4d 44 61 | 74 61 50 74 72 3b 0a 0a |a, *VMDa|taPtr;..|
|000004a0| 0a 40 69 6e 74 65 72 66 | 61 63 65 20 4d 65 6d 49 |.@interf|ace MemI|
|000004b0| 6e 66 6f 20 3a 20 4e 53 | 4f 62 6a 65 63 74 0a 7b |nfo : NS|Object.{|
|000004c0| 0a 09 69 6e 74 09 09 09 | 73 69 7a 65 3b 0a 09 69 |..int...|size;..i|
|000004d0| 6e 74 09 09 09 69 6e 70 | 74 72 3b 0a 09 69 6e 74 |nt...inp|tr;..int|
|000004e0| 09 09 09 6f 75 74 70 74 | 72 3b 0a 09 56 4d 44 61 |...outpt|r;..VMDa|
|000004f0| 74 61 50 74 72 09 09 76 | 6d 64 61 74 61 3b 0a 09 |taPtr..v|mdata;..|
|00000500| 76 6d 5f 73 74 61 74 69 | 73 74 69 63 73 5f 64 61 |vm_stati|stics_da|
|00000510| 74 61 5f 74 09 6c 61 73 | 74 76 6d 73 74 61 74 3b |ta_t.las|tvmstat;|
|00000520| 0a 7d 0a 0a 2d 20 28 4d | 65 6d 49 6e 66 6f 20 2a |.}..- (M|emInfo *|
|00000530| 29 69 6e 69 74 57 69 74 | 68 43 61 70 61 63 69 74 |)initWit|hCapacit|
|00000540| 79 3a 28 75 6e 73 69 67 | 6e 65 64 29 6e 75 6d 49 |y:(unsig|ned)numI|
|00000550| 74 65 6d 73 3b 0a 2d 20 | 28 76 6f 69 64 29 72 65 |tems;.- |(void)re|
|00000560| 66 72 65 73 68 3b 0a 2d | 20 28 76 6f 69 64 29 73 |fresh;.-| (void)s|
|00000570| 74 61 72 74 49 74 65 72 | 61 74 65 3b 0a 2d 20 28 |tartIter|ate;.- (|
|00000580| 42 4f 4f 4c 29 67 65 74 | 4e 65 78 74 3a 28 56 4d |BOOL)get|Next:(VM|
|00000590| 44 61 74 61 50 74 72 29 | 70 74 72 3b 0a 2d 20 28 |DataPtr)|ptr;.- (|
|000005a0| 76 6f 69 64 29 67 65 74 | 43 75 72 72 65 6e 74 3a |void)get|Current:|
|000005b0| 28 56 4d 44 61 74 61 50 | 74 72 29 70 74 72 3b 0a |(VMDataP|tr)ptr;.|
|000005c0| 2d 20 28 76 6f 69 64 29 | 67 65 74 4c 61 73 74 3a |- (void)|getLast:|
|000005d0| 28 56 4d 44 61 74 61 50 | 74 72 29 70 74 72 3b 0a |(VMDataP|tr)ptr;.|
|000005e0| 2d 20 28 69 6e 74 29 67 | 65 74 53 69 7a 65 3b 0a |- (int)g|etSize;.|
|000005f0| 0a 40 65 6e 64 0a 00 00 | 00 00 00 00 00 00 00 00 |.@end...|........|
|00000600| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000610| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000620| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000630| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+